package com.ruoyi.quartz.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实时交易对象 stock_real_time
 * 
 * @author czz
 * @date 2024-04-24
 */
public class StockRealTime extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 成交时间 */
    @Excel(name = "成交时间")
    private String dealTime;

    /** 成交价格 */
    @Excel(name = "成交价格")
    private BigDecimal dealPrice;

    /** 成交量 */
    @Excel(name = "成交量")
    private Long dealVolume;

    /** 成交日 */
    @Excel(name = "成交日")
    private String dealDate;

    /** 成交类型 */
    @Excel(name = "成交类型")
    private String dealType;

    @Excel(name= "股票代码")
    private String symbol;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDealTime(String dealTime) 
    {
        this.dealTime = dealTime;
    }

    public String getDealTime() 
    {
        return dealTime;
    }
    public void setDealPrice(BigDecimal dealPrice) 
    {
        this.dealPrice = dealPrice;
    }

    public BigDecimal getDealPrice() 
    {
        return dealPrice;
    }
    public void setDealVolume(Long dealVolume) 
    {
        this.dealVolume = dealVolume;
    }

    public Long getDealVolume() 
    {
        return dealVolume;
    }
    public void setDealDate(String dealDate) 
    {
        this.dealDate = dealDate;
    }

    public String getDealDate() 
    {
        return dealDate;
    }
    public void setDealType(String dealType) 
    {
        this.dealType = dealType;
    }

    public String getDealType() 
    {
        return dealType;
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dealTime", getDealTime())
            .append("dealPrice", getDealPrice())
            .append("dealVolume", getDealVolume())
            .append("dealDate", getDealDate())
            .append("dealType", getDealType())
                .append("symbol", getSymbol())
            .toString();
    }
}
